package com.bmadmin.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bmadmin.domain.ZcckDomain;
import com.bmadmin.domain.ZcckmxcxDomain;
import com.bmadmin.domain.ZccktjcxDomain;
import com.bmadmin.mapper.ZcckDao;
import com.bmadmin.service.ZcckService;
@Service
@Transactional
public class ZcckServiceImpl implements ZcckService {
	@Autowired
	ZcckDao zcckDao;
	
	@Override
	public List<ZcckDomain> getCkList(Map map) {
		return zcckDao.getCkList(map);
	}

	@Override
	public int insertZcck(ZcckDomain zcck) {
		return zcckDao.insertZcck(zcck);
	}

	@Override
	public int updateZcckYxbz(String zcck_id) {
		return zcckDao.updateZcckYxbz(zcck_id);
	}
	
	@Override
	public List<ZccktjcxDomain> getCktjcxList(Map map){
		return zcckDao.getCktjcxList(map);
	}
	
	@Override
	public List<ZcckmxcxDomain> getCkmxcxList(Map map){
		return zcckDao.getCkmxcxList(map);
	}

}
